// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_tcpipports
// * CreateDate    : 2014-06-05 18:30:02
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:02
// * LastChanger   : 2014-06-05 18:30:02
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmTcpipportsTable : TableInfo
    {
		public const string C_TableName = "hm_tcpipports";
		
		public const string C_portid = "portid";
		public const string C_portprotocol = "portprotocol";
		public const string C_portnumber = "portnumber";
		public const string C_portaddress1 = "portaddress1";
		public const string C_portaddress2 = "portaddress2";
		public const string C_portusessl = "portusessl";
		public const string C_portsslcertificateid = "portsslcertificateid";
		
		public HmTcpipportsTable()
        {
            _tableName = "hm_tcpipports";
        }
		
		protected static HmTcpipportsTable _current;
        public static HmTcpipportsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmTcpipportsTable();

            _current.Add(C_portid, new ColumnInfo(C_portid,"Portid", true, typeof(int)));
            _current.Add(C_portprotocol, new ColumnInfo(C_portprotocol,"Portprotocol", false, typeof(byte)));
            _current.Add(C_portnumber, new ColumnInfo(C_portnumber,"Portnumber", false, typeof(int)));
            _current.Add(C_portaddress1, new ColumnInfo(C_portaddress1,"Portaddress1", false, typeof(long)));
            _current.Add(C_portaddress2, new ColumnInfo(C_portaddress2,"Portaddress2", false, typeof(long)));
            _current.Add(C_portusessl, new ColumnInfo(C_portusessl,"Portusessl", false, typeof(byte)));
            _current.Add(C_portsslcertificateid, new ColumnInfo(C_portsslcertificateid,"Portsslcertificateid", false, typeof(long)));
			
		}
		
		public ColumnInfo portid
        {
            get { return this[C_portid]; }
        }
		
		public ColumnInfo portprotocol
        {
            get { return this[C_portprotocol]; }
        }
		
		public ColumnInfo portnumber
        {
            get { return this[C_portnumber]; }
        }
		
		public ColumnInfo portaddress1
        {
            get { return this[C_portaddress1]; }
        }
		
		public ColumnInfo portaddress2
        {
            get { return this[C_portaddress2]; }
        }
		
		public ColumnInfo portusessl
        {
            get { return this[C_portusessl]; }
        }
		
		public ColumnInfo portsslcertificateid
        {
            get { return this[C_portsslcertificateid]; }
        }
		
		
		
	}
}

